package com.edu.entity.resource;

import java.util.Date;

public class ResourceTip {
    private int id;
    private int tipNo;
    private Date tipTime;
    private String tip;

    public ResourceTip(int id, int tipNo, Date tipTime, String tip) {
        this.id = id;
        this.tipNo = tipNo;
        this.tipTime = tipTime;
        this.tip = tip;
    }

    public ResourceTip(int tipNo, Date tipTime, String tip) {
        this.tipNo = tipNo;
        this.tipTime = tipTime;
        this.tip = tip;
    }

    public ResourceTip() {
        super();
    }

    @Override
    public String toString() {
        return "ResourceTip{" +
                "id=" + id +
                ", tipNo=" + tipNo +
                ", tipTime=" + tipTime +
                ", tip='" + tip + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getTipNo() {
        return tipNo;
    }

    public void setTipNo(int tipNo) {
        this.tipNo = tipNo;
    }

    public Date getTipTime() {
        return tipTime;
    }

    public void setTipTime(Date tipTime) {
        this.tipTime = tipTime;
    }

    public String getTip() {
        return tip;
    }

    public void setTip(String tip) {
        this.tip = tip;
    }
}
